package cn.dhn_app.horseman_app.mapper;

import cn.dhn_app.horseman_app.entity.horseman_order;
import cn.dhn_app.horseman_app.entity.horseman_orderExample;
import cn.itcast.util.ResponseEntity;
import com.alibaba.fastjson.JSONObject;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface horseman_orderMapper {
    int countByExample(horseman_orderExample example);

    int deleteByExample(horseman_orderExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(horseman_order record);

    int insertSelective(horseman_order record);

    List<horseman_order> selectByExample(horseman_orderExample example);

    horseman_order selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") horseman_order record, @Param("example") horseman_orderExample example);

    int updateByExample(@Param("record") horseman_order record, @Param("example") horseman_orderExample example);

    int updateByPrimaryKeySelective(horseman_order record);

    int updateByPrimaryKey(horseman_order record);


    /**
     * 功能描述: <br>
     * 〈根据骑手openId获取骑手今日货重信息〉
     * @Author: lyy
     * @Date: 2020/10/21 16:48
     * @Param: [openId]
     * @Return: java.util.List
     */
    List<JSONObject> Today_Weight(@Param("openId") String openId);

}